Part One: Coordinate View


Part Two: The VRML Source Code (picframe.wrl)

Here is the entire VRML 2.0 source code. Type (or paste) this code into a file called "picframe.wrl".

#VRML V2.0 utf8
#A single-faced picture frame
Transform {
  children [
    Shape {
      appearance Appearance {
        material Material {
          emissiveColor 0 0 1
        }
      }
      geometry IndexedFaceSet {
        coord Coordinate {
          point [
                  -2 2 0,
                  -2 -2 0,
                  2 -2 0,
                  2 2 0,
                  -1.5 1.5 0,
                  -1.5 -1.5 0,
                  1.5 -1.5 0,
                  1.5 1.5 0,
          ]
        }
        coordIndex [ 0, 1, 2, 3, 0, 4, 7, 6, 5, 4, -1, ]
      }
    }
  ]
}